<div class="content-white p1000">
    <div class="operaWrap">
        检查时间起：<nz-date-picker [nzAllowClear]="false" [(ngModel)]="searchParam.deadlineL"></nz-date-picker>
        &nbsp;&nbsp;&nbsp;
        止：<nz-date-picker [nzAllowClear]="false" [(ngModel)]="searchParam.deadlineR"></nz-date-picker>
        &nbsp;&nbsp;&nbsp;
        <button nz-button nzType="default" (click)="search()"><i nz-icon nzType="search"></i>查询</button>
        <button nz-button nzType="default" (click)="export()"><i nz-icon nzType="upload"></i>导出</button>
    </div>
</div>

<nz-tabset [nzSelectedIndex]="tabsIndex" [nzTabBarStyle]="{'margin-bottom':'10px','background':'#fff'}"
    (nzSelectChange)="tabsChange($event)">
    <nz-tab nzTitle="按责任部门统计"></nz-tab>
    <nz-tab nzTitle="按等级统计"></nz-tab> 
</nz-tabset>

<div nz-row [nzGutter]="16">
    <div nz-col [nzSpan]="17">
        <app-table #tcp [tableId]="'dangerStatistics'" (clickDetail)="detail($event)" [tableScroll]="tableScroll" [headData]="headData"
            [plainData]="plainData"></app-table>
    </div>
    <div nz-col [nzSpan]="7">
        <div class="echarsWrap" id="echarts"></div>
    </div>
</div>  

<app-detailmodal *ngIf="operaList.detailModal" [width]="'1200'" [sTime]="searchParam.deadlineL" [eTime]="searchParam.deadlineR" [popTitle]="'详情'" [apiUrl]="apiUrl.detail"
    [responseData]="tempData" [paramType]="paramType" (closeModal)="modalHide('detailModal')" (reloadData)="search()">
</app-detailmodal>